package com.zxl.cityservice.service;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaolinzhang on 2017/2/7.
 */
public interface BaseService<T> {
    Long save(T t);

    void del(Long id);

    void update(T t);

    T getOneRes(Map map);

    List<T> getAll(Integer offset,Integer rows);
}
